package com.mty.service.impl;

import com.mty.OrderApp;
import com.mty.dao.OrderDao;
import com.mty.entity.Order;
import com.mty.service.OrderService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author ：Teacher马（2508531326@qq.com）
 * @date ：Created in 2022/11/18 16:48
 * @description：
 * @modified By：
 * @version:
 */
@Service
public class OrderServiceImpl implements OrderService {
    @Autowired
    private OrderDao orderDao;
    @Override
    public int save(Order order) {
        return orderDao.insert(order);
    }
}
